<?php 
    $this->headTitle('Edit Profile');
?>


  <div id="content">
    <div id="inner">
      <div id="message">
      <div class="left float-l">
        <h2>Profile</h2>
        <div class="float-l">
        <br><br></div>

            <?php 
                
                $this->form->setDefault('userName', $this->row['user_name']);
                $this->form->setDefault('mail', $this->row['email']);
                $this->form->setDefault('job', $this->row['job']);
                $this->form->setDefault('bdate', $this->row['birthday']);
                $this->form->setDefault('add', $this->row['address']);
                $this->form->setDefault('country', $this->row['country']);
                $this->form->setDefault('crdtLmt', $this->row['credit_limit']);
                $this->form->setDefault('crdtNum', $this->row['creadit_card_number']);
                
                echo $this->form;
               
            ?>
        
        
        <img src="/images/intro.gif" alt="" />
        <table class="protable">
        </table>
        </div>
      </div>
      <div class="right folat-r">
        <div id="side">
          <div id="top">
            <h2>The word of the day</h2> 
            <ul class="meun">
              <li><a href="#">Be a do it now person!</a></li>
            </ul>
          </div>
          <div id="bm">
            <h2>My Account</h2>
            <ul class="meun">
              <li><a href="/user/show">Show Profile</a></li>
              <li><a href="/user/edit">Edit Profile</a></li>
              <li><a href="/user/userpage">Products</a></li>
              <li><a href="/user/displaycart">My Shop Cart </a></li>
            </ul>
            
          </div>
        </div>
      </div>
    </div>
  </div>
  <!-- /content -->